x11: More fake tablet blacklisting
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2016 02:59:44 +0000 (21:59 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2016 03:22:11 +0000 (22:22 -0500)
Sigh.

Now that we've neutered the QEMU USB tablet, I'm finding that
spice is doing just the same nonsense. It has a fake "spice vdagent
tablet". Blacklist that as well.

gdk/x11/gdkdevicemanager-xi2.c

index 237bcb2cc6f72cabdde419086c9b71e22aeb1915..a667c49da7bb3b45d18dab5cc4fcdad0f5c94f36 100644 (file)
@@ -430,6 +430,7 @@ create_device (GdkDeviceManager *device_manager,
       else if (!strstr (tmp_name, "mouse") &&
                !strstr (tmp_name, "pointer") &&
                !strstr (tmp_name, "qemu usb tablet") &&
+               !strstr (tmp_name, "spice vdagent tablet") &&
                has_abs_axes (display, dev->classes, dev->num_classes))
         input_source = GDK_SOURCE_TOUCHSCREEN;
       else